let UI02 = {}
let CSUtilss = {}
let U3dCore = {}
let CNetwork = {}
let U3dUtils = {}
UI02.Part = {}
let CComposite = {}
let UnityCommon = {}
let CSExcelTools = {}
let CS_GameService = {}
CComposite.Part = {}
CComposite.Object = {}
CS_GameService.Protocol = {}

//--------10_10_011_005----
//----box地形--
CComposite.Object.PartData_005_BoxIslandTerrain2 = function () {
}
CComposite.Object.PartData_005_BoxIslandTerrain2.prototype = {
    get m_className() {
        return "PartData_005_BoxIslandTerrain";
    },
    get m_typeId() {
        return "10_10_011_005";
    },
    get m_typeTag() {
        return "box地形";
    },
    _instanceId: 0,

    o_textureIndex: 0,//Int32----贴图索引----
    S_SerializableByte: function (binaryWriter) {
        binaryWriter.Write(m_typeId.a);//����1
        binaryWriter.Write(m_typeId.b);//����2
        binaryWriter.Write(m_typeId.c);//����3
        binaryWriter.Write(m_typeId.d);//����4
        binaryWriter.Write(m_InstanceId);//ʵ��id
        let startPosition = binaryWriter.S_WriterByteHead();

        if (o_textureIndex != 0) {
            binaryWriter.Write(10);//�ֶ�����
            binaryWriter.Write(o_textureIndex);//ֵ
        }
        binaryWriter.S_WriterByteEnd(startPosition);
    },
    S_DeSerializationByte: function (binaryReader, uintObjDic, endPosition) {
        while (binaryReader.BaseStream.Position < endPosition) {
            let index = binaryReader.ReadByte();
            switch (index) {
                case 10:
                    o_textureIndex = binaryReader.ReadInt32();
                    break;
                default:
                    CLog.ef("�����л�����.____.U3dGame.Obj.Part.PartData_005_BoxIslandTerrain.__.{0}.__.{1}", index, binaryReader.BaseStream.Position);
                    break;
            }
        }
    },
    //-----���л��ַ���---------------------
    S_SerializableString: function (str) {
        str = str + "  &10=" + this.o_textureIndex;//--贴图索引
        str = str + "\r\n"
        return str;
    },
    //-----�����л��ַ���---------------------
    S_DeSerializationString: function (strArr, uintObjDic) {
        for (let i = 0; i < strArr.length; i++) {
            let keyValueArr = strArr[i].split("[=;,	 ]");
            if (keyValueArr.length < 2) {
                continue;
            }
            try {
                let index = Number(keyValueArr[0]);
                switch (index) {
                    case 10:
                        this.o_textureIndex = CSUtilss.Core.WeDataTools.S_ReadStringObj(keyValueArr[1], EBaseType.e006_int, uintObjDic);
                        break;
                }
            } catch {
            }
        }
    },
}

let CComposite_Object_PartData_005_BoxIslandTerrain2 = {
    "dddd": {
        "1": new CSUtils.AField(1, "ddd"),
    },

}

CComposite.Object.PartData_005_BoxIslandTerrain2.o_ii = CComposite_Object_PartData_005_BoxIslandTerrain;
 




